package com.lmk.t02;

public abstract class MotoVehicle {
    private  String No;
    private String Brand;
    private  String color;



    public void setNo(String no) {
        No = no;
    }

    public String getBrand() {
        return Brand;
    }

    public void setBrand(String brand) {
        Brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Double getMileage() {
        return Mileage;
    }

    public void setMileage(Double mileage) {
        Mileage = mileage;
    }
    public MotoVehicle(String no,String brand){
        this.No=no;
        this.Brand=brand;
    }
    private Double Mileage;
    public abstract int CalcRent(int days);
}
